<template>
  <div>
    <router-view></router-view>
    <van-tabbar v-model="active" route placeholder>
      <van-tabbar-item to="/company" icon="home-o">公司</van-tabbar-item>
      <van-tabbar-item to="/discover" icon="records">刷题</van-tabbar-item>
      <van-tabbar-item to="/exercise" icon="search">发现</van-tabbar-item>
      <van-tabbar-item to="/mine" icon="user-o">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  data() {
    return {
      active: 0,
    };
  },
};
</script>

<style></style>
